package descriptor;

import java.io.Serializable;
import java.util.Vector;

public class TimetableListDescriptor implements Serializable
{
	private Vector<TimetableDescriptor> tbs;

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public TimetableListDescriptor()
	{
		tbs = new Vector<TimetableDescriptor>();
	}
	
	public void addTimetableDescriptor(TimetableDescriptor tb)
	{
		tbs.add(tb);
	}
	
	public Vector<TimetableDescriptor> getTimetableDescriptors(){
		return tbs;
	}
	
	public int sizeTimetableList()
	{
		return tbs.size();
	}
	
	public void deleteElt(TimetableDescriptor tbdes)
	{
		tbs.removeElement(tbdes);
	}

}
